package com.tuniu.agents.evaluators.common.entity;

import java.util.List;

/**
 * Favorite folder response
 */
public class FavoriteResponse {
    /**
     * Indicates if the operation was successful
     */
    private boolean success;
    /**
     * Error code if the operation failed
     */
    private Integer errorCode;
    /**
     * Data information
     */
    private DataInfo data;
    
    /**
     * Wrapper for data
     */
    public static class DataInfo {
        /**
         * Data details
         */
        private Data data;
        public Data getData() {
            return data;
        }
        public void setData(Data data) {
            this.data = data;
        }
    }

    /**
     * Data details including count and favorite list
     */
    public static class Data {
        /**
         * Total count
         */
        private Integer count;
        /**
         * List of favorites
         */
        private List<Favorite> rows;
        public Integer getCount() {
            return count;
        }
        public void setCount(Integer count) {
            this.count = count;
        }
        public List<Favorite> getRows() {
            return rows;
        }
        public void setRows(List<Favorite> rows) {
            this.rows = rows;
        }
        
    }
    

    public boolean isSuccess() {
        return success;
    }


    public void setSuccess(boolean success) {
        this.success = success;
    }


    public Integer getErrorCode() {
        return errorCode;
    }


    public void setErrorCode(Integer errorCode) {
        this.errorCode = errorCode;
    }


    public DataInfo getData() {
        return data;
    }


    public void setData(DataInfo data) {
        this.data = data;
    }

    /**
     * Favorite item entity
     */
    public static class Favorite {

        /**
         * Session ID
         */
        private String traceId;
        /**
         * Parameter type
         */
        private Integer paramType;
        /**
         * Snapshot ID
         */
        private Long snapshotId;    
        /**
         * Arrival city code
         */
        private String arrivalCityCode;
        /**
         * Departure city name
         */
        private String departureCityName;
        /**
         * Add time
         */
        private String addTime;
        /**
         * Departure city code
         */
        private String departureCityCode;
        /**
         * Resource type
         */
        private int resType;
        /**
         * Arrival city name
         */
        private String arrivalCityName; 
        /**
         * Departure date
         */
        private String departDate;
        /**
         * Resource details
         */
        private String params;
        /**
         * User ID
         */
        private long userId;
        /**
         * Status
         */
        private int status;

        public String getTraceId() {
            return traceId;
        }
        public void setTraceId(String traceId) {
            this.traceId = traceId;
        }
        public Integer getParamType() {
            return paramType;
        }
        public void setParamType(Integer paramType) {
            this.paramType = paramType;
        }
        public Long getSnapshotId() {
            return snapshotId;
        }
        public void setSnapshotId(Long snapshotId) {
            this.snapshotId = snapshotId;
        }
        public String getArrivalCityCode() {
            return arrivalCityCode;
        }
        public void setArrivalCityCode(String arrivalCityCode) {
            this.arrivalCityCode = arrivalCityCode;
        }
        public String getDepartureCityName() {
            return departureCityName;
        }
        public void setDepartureCityName(String departureCityName) {
            this.departureCityName = departureCityName;
        }
        public String getAddTime() {
            return addTime;
        }
        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }
        public String getDepartureCityCode() {
            return departureCityCode;
        }
        public void setDepartureCityCode(String departureCityCode) {
            this.departureCityCode = departureCityCode;
        }
        public int getResType() {
            return resType;
        }
        public void setResType(int resType) {
            this.resType = resType;
        }
        public String getArrivalCityName() {
            return arrivalCityName;
        }
        public void setArrivalCityName(String arrivalCityName) {
            this.arrivalCityName = arrivalCityName;
        }
        public String getDepartDate() {
            return departDate;
        }
        public void setDepartDate(String departDate) {
            this.departDate = departDate;
        }
        public String getParams() {
            return params;
        }
        public void setParams(String params) {
            this.params = params;
        }
        public long getUserId() {
            return userId;
        }
        public void setUserId(long userId) {
            this.userId = userId;
        }
        public int getStatus() {
            return status;
        }
        public void setStatus(int status) {
            this.status = status;
        }
        
    }
    
    
}
